package com.offcn.service;

import com.offcn.pojo.Department;
import com.offcn.pojo.Member;

import java.util.List;

public interface DepartmentService {
    List<Department> selectDepartmentByMemberSession(Member memberSession);


    boolean save(Member memberSession, String dname);


    boolean deleteByDepartment(Member memberSession,Integer did);

    boolean update(Member memberSession,Department department);
}
